﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bookkeeping.Core.Services
{
    public class Formatter
    {
        public static string FormatMonetaryAmount(double amount)
        {
            return amount.ToString("C");
        }

        public static string CapitalizeFirstLetter(string s)
        {
            string firstLetter = s[0].ToString();
            string capitalizedFirstLetter = firstLetter.ToString().ToUpper();

            return capitalizedFirstLetter + s.Substring(1);
        }
    }
}
